package org.road0329.tools.proto_parse_tool.ems;

import org.road0329.tools.proto_parse_tool.chargingpile.MsgCommData;

import java.util.List;
import java.util.Map;

public class PointCommInfo extends MsgCommData {

    private Integer pointId;     // 计量点编码
    private Integer protocolId;  // 通讯协议
    private Integer protocolId2; // 通讯协议2
    private String commAddr;    // 计量点通讯地址:A0~A5
    private String typeNum;     // 仪表类型:电表(00H),冷水表(10H),中水表(11H),纯净水表(12H),热水表(13H),电子水表(19H),
    // 计热热量表(20H),计冷热量表(21H),流量计(23H),燃气表(30H),其他仪表(40H)

    private String safetyLevel; // 密级:PA
    private String safetyPwd;   // 密码:P0~P2
    private String operateCode; // 操作者代码:C3C2C1C0

    private int controlType; // 控制类型,TransitControlTypeEnum定义
    private Short operateType; //操作类型，DcsOperateTypeEnum定义

    private Object encryptParams;//加密参数对象

    /*  private IdentityAuth        identityAuth;// 加密机身份认证
        private UserControl         userCtrl;    // 控制命令加密函数（2009 版规范电能表函数）
    */
    private Object extendParam; // 扩展参数

    private Map<String, Object> resultValue; // 结果值对象
    private String resultData;  // 结果值描述
    private Object resultObject;//结果对象

    private List<Object> saveDataList;

    public Integer getPointId() {
        return pointId;
    }

    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }

    public Integer getProtocolId() {
        return protocolId;
    }

    public void setProtocolId(Integer protocolId) {
        this.protocolId = protocolId;
    }

    public Integer getProtocolId2() {
        return protocolId2;
    }

    public void setProtocolId2(Integer protocolId2) {
        this.protocolId2 = protocolId2;
    }

    public String getCommAddr() {
        return commAddr;
    }

    public void setCommAddr(String commAddr) {
        this.commAddr = commAddr;
    }

    public String getTypeNum() {
        return typeNum;
    }

    public void setTypeNum(String typeNum) {
        this.typeNum = typeNum;
    }

    public String getSafetyLevel() {
        return safetyLevel;
    }

    public void setSafetyLevel(String safetyLevel) {
        this.safetyLevel = safetyLevel;
    }

    public String getSafetyPwd() {
        return safetyPwd;
    }

    public void setSafetyPwd(String safetyPwd) {
        this.safetyPwd = safetyPwd;
    }

    public String getOperateCode() {
        return operateCode;
    }

    public void setOperateCode(String operateCode) {
        this.operateCode = operateCode;
    }

    public int getControlType() {
        return controlType;
    }

    public void setControlType(int controlType) {
        this.controlType = controlType;
    }

    public Short getOperateType() {
        return operateType;
    }

    public void setOperateType(Short operateType) {
        this.operateType = operateType;
    }

    public Object getEncryptParams() {
        return encryptParams;
    }

    public void setEncryptParams(Object encryptParams) {
        this.encryptParams = encryptParams;
    }

    public Object getExtendParam() {
        return extendParam;
    }

    public void setExtendParam(Object extendParam) {
        this.extendParam = extendParam;
    }

    public Map<String, Object> getResultValue() {
        return resultValue;
    }

    public void setResultValue(Map<String, Object> resultValue) {
        this.resultValue = resultValue;
    }

    public String getResultData() {
        return resultData;
    }

    public void setResultData(String resultData) {
        this.resultData = resultData;
    }

    public Object getResultObject() {
        return resultObject;
    }

    public void setResultObject(Object resultObject) {
        this.resultObject = resultObject;
    }

    public List<Object> getSaveDataList() {
        return saveDataList;
    }

    public void setSaveDataList(List<Object> saveDataList) {
        this.saveDataList = saveDataList;
    }
}
